package com.csdj.tangchujun.service;

import com.csdj.tangchujun.entity.TPaper;
import com.csdj.tangchujun.entity.TPaperExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ITPaperService {
    long countByExample(TPaperExample example);

    int deleteByExample(TPaperExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TPaper record);

    int insertSelective(TPaper record);

    List<TPaper> selectByExample(TPaperExample example);

    TPaper selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TPaper record, @Param("example") TPaperExample example);

    int updateByExample(@Param("record") TPaper record, @Param("example") TPaperExample example);

    int updateByPrimaryKeySelective(TPaper record);

    int updateByPrimaryKey(TPaper record);
}
